home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1996 November / macformat-043.iso / mac / Shareware Plus / Developers / OpenStack Rinaldi Collection / openstack-rinaldi-lib / FileCopy 2.7 (US) / FileCopy 2.7 (US).rsrc / HELP_5635 next >
Encoding:
Text File  |  1996-01-09  |  6.6 KB  |  122 lines

  1.  
  2.  
  3.                                              FileCopy 2.7
  4.  
  5.                                          by Frédéric RINALDI
  6.  
  7. DESCRIPTION
  8.   FileCopy is a XCMD allowing to copy any file between two volumes or directories.
  9.  
  10. SYNTAX
  11.              FileCopy <prov file> [,«dest path or name»][,«replace»]
  12.                            [,«"DontResolveAlias"»][,«"DontShowProgress"»]
  13.  
  14. PARAMETERS
  15.    «» params are order-independants.
  16.  
  17.    <prov file> can be a single name or whole pathname. If just a single name is supplied, the file is assumed to be in the same folder than the current stack.
  18.  
  19.    «dest path or name» is optional. If not supplied, the file will be copied in the same folder as "Copy of...". If a single name is passed, the copy of the file will take that new name in the same folder. If the second param end with colon, the file will be copied in the designed folder and will keep its original name. Finally, a whole pathname can be provided to define both dest. directory and new file name.
  20.  
  21.    «replace» is a boolean allowing to automatically replace any existing file. Default is FALSE.
  22.  
  23.    «"dontResolveAlias"» allows to deal with an alias file itself (System 7.0 only) rather than with the file pointed by it.
  24.  
  25.    «"DontShowProgress"» allows to hide progress dialog.
  26.  
  27.    Using "!", "?" or "=" as first parameter will return an online help (resp. copyright, syntax and output).
  28.  
  29. USING
  30.    If the copy is successfull, the Result will contain the full pathname of the destination file.
  31.  
  32. ERRORS
  33.    If an error occurs, the Result can return :
  34.      "Error : Not a file"
  35.      "Error : Not a folder"
  36.      "Error : Alias file not supported"
  37.      "Error : Volume not found"
  38.      "Error : Bad Name"
  39.      "Error : File not found"
  40.      "Error : Folder not found"
  41.      "Error : File is busy"
  42.      "Error : I/O Error"
  43.      "Error : Volume is full"
  44.      "Error : Volume is locked"
  45.      "Error : No resource fork"
  46.      "Error : Duplicate file/folder name"
  47.      "Error : Moving whole volume not allowed"
  48.      "Error : Not an AppleShare volume"
  49.      "Error : AppleShare insufficient privileges"
  50.      "Error : No more disk space"
  51.      "Error : Missing or empty parameter(s)"
  52.      "Error : Couln't create copy buffer"
  53.  
  54. HISTORY
  55. 2.7                                                                                         02/24/94
  56. • Fixed destination free space calculation when file has to be replaced
  57. • Fixed the dialog location when the card is hidden
  58.  
  59. 2.6                                                                                         12/10/92
  60. • Fixed bug with copy of an empty file
  61. • FileCopy is now able to copy currently opened files
  62. • Inited bit set to false on created file
  63.                                                                                          
  64. 2.5                                                                                         11/16/92
  65. • Fixed bug with copy in a drop-in shared folder
  66.                                                                                          
  67. 2.4                                                                                         10/26/92
  68. • Copy keeps files dates
  69.                                                                                          
  70. 2.3                                                                                         10/01/92
  71. • Fixed minor bug
  72. • Checking is done before Progress dialog appears
  73.                                                                                          
  74. 2.2                                                                                         09/28/92
  75. • Fixed minor bug
  76. • Enhanced Progress dialog
  77.                                                                                          
  78. 2.1                                                                                         09/22/92
  79. • Enhanced speed by using maximum available memory
  80. • Added Progress dialog
  81.                                                                                          
  82. 2.0                                                                                         06/19/92
  83. • Enhanced to allow copy in an AppleShare drop-folder
  84.                                                                                          
  85. 1.9                                                                                         03/13/92
  86. • Removed forgotten DebugStr (grin !)
  87.                                                                                          
  88. 1.8                                                                                         03/07/92
  89. • Enhanced destination param parser
  90.                                                                                          
  91. 1.7                                                                                         12/25/91
  92. • Fixed alias file bug under System 7.0.1
  93.                                                                                          
  94. 1.6                                                                                         11/22/91
  95. • Fixed destination volume freespace calculation
  96.                                                                                          
  97. 1.5                                                                                         10/29/91
  98. • Copied file now preserves modification date.
  99.                                                                                          
  100. 1.4                                                                                         10/28/91
  101. • Copied file now preserves creation date.
  102.                                                                                          
  103. 1.3                                                                                         08/04/91
  104. • Added support for System 7.0 alias files
  105. • General enhancement of the code
  106. • Added "DontResolveAlias" parameter
  107. • Added "=" param for online help
  108.                                                                                          
  109. 1.2
  110. • Keeps previous file attributes (dates)
  111.                                                                                          
  112. 1.1
  113. • Replace param added to provide automatic replacement of previous file with a same name.
  114. --------------------------------------------------------------------
  115.    All externals included in this stack are FreeWare and may be used in non-commercial software provided the following notice is visibly present :
  116.  
  117.                    FileCopy XCMD, © Frederic Rinaldi, 1989…1994.
  118.  
  119.    Free for non-commercial use. Use in commercial software subjected to prior acknowledgement and licensing from the author, reachable at the following network addresses:
  120.  
  121. AppleLink: RINALDI1   CalvaCom : FR10    Compuserve : 71170,2111
  122.                Internet : RINALDI1@APPLELINK.APPLE.COM